'''
Created on 21.11.2013

@author: Danila Oleynik
'''
from django.db import models

from BasicObject import BaseObject
from Params import BillingTypes


class Syndic(BaseObject):
    storage_years = models.IntegerField()
    note = models.TextField()
    billing_type = models.ForeignKey(BillingTypes)
    contact = models.ForeignKey('Contact', null=True, related_name='syndics_contact')

    class Meta:
        app_label = 'condo'
    